package portal.mybatis.dao.mapper;

import java.util.List;

import portal.beans.Gpu;
import portal.mybatis.page.Page;
/***
 * GPU 信息只允许添加，不允许删除，update 操作也需要谨慎
 * ***/
public interface GpuMapper {
	public int insertGpu(Gpu gpu);
	public int updateGpuById(Gpu gpu);
//	public List<Gpu> selectByName(String identify);
//	public List<Gpu> selectByVersion(String version);
	public List<Gpu> selectByPage(Page<Gpu>page);
	public long countByPage(Page<Gpu>page);
	public List<Gpu> selectByOr(Gpu g);
	public long countAll();
}
